package br.com.image;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

public class ControleImagem 
{
	public static BufferedImage carregarSprite( String strPath )
	{
		BufferedImage image = null;
		
		try
		{
			image = ImageIO.read( new File( strPath ) );
		} 
		catch( IOException e ) 
		{
			e.printStackTrace( );
		}
		
		return image;
	}
}